<?php if (!defined('THINK_PATH')) exit(); if(is_array($rules)): foreach($rules as $key=>$vo): ?><label style="margin:5px 0;padding-left:30px;float: left;width:33.3333%">
    <input <?php echo in_array($vo['id'],explode(',',$info['rules'])) ? 'checked' : '';?>  type="checkbox"  name="rule" value="<?php echo ($vo['id']); ?>">
    <span><?php echo ($vo['name']); ?></span>
</label><?php endforeach; endif; ?>